//
//  GetStarredChannelsOfSelfRootModel.m
//  __PRODUCTNAME__
//
//  Created by Hanlingyu on 16/09/10
//  Copyright (c) ltq. All rights reserved.
//

#import "GetStarredChannelsOfSelfRootModel.h"
#import "GetStarredChannelsOfMySelfContent.h"

@implementation GetStarredChannelsOfSelfRootModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"content"]) {
        NSMutableArray *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            GetStarredChannelsOfMySelfContent *content = [GetStarredChannelsOfMySelfContent modelWithDic:dic];
            [array addObject:content];
        }
        _content = array;
    }
}

+ (NSDictionary *)objectClassInArray{
    return @{@"content" : [GetStarredChannelsOfMySelfContent class]};
}

@end
